<!DOCTYPE html>
<html ng-app="ngView">
<head lang="en">
    <meta charset="UTF-8">
    <title>sample</title>
    <script type="text/javascript" src="../../lib/jquery/1.11.0/jquery.min.js"></script>
    <script type="text/javascript" src="../../lib/angularjs/1.3.0-beta.5/angular.js"></script>
    <script type="text/javascript" src="../../lib/angularjs/1.3.0-beta.5/angular-route.js"></script>
</head>
<body>
<div ng-view></div>
<a ng-href="#/test">href</a>
<script type="text/javascript">
    //    var ngView = angular.module('ngView', ['ngRoute']);
    //    ngView.config(['$routeProvider', function($routeProvider) {
    //        $routeProvider.when('/test', {template : 'test'}, null);
    //    }]);

    //    angular.module('ngView', ['ngRoute'], function ($routeProvider) {
    //        $routeProvider.when('/test', {template: 'test'}, null);
    //    });

    angular.module('ngView', ['ngRoute'], ['$routeProvider', function ($routeProvider) {
        $routeProvider.when('/test', {template: 'test'}, null);
    }]);
</script>
</body>
</html>